package com.yc.chaoshi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xz
 * @since 2022-08-04
 */
@TableName("ums_addres")
public class UmsAddres implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 用户id
     */
      private Integer userId;
    /**
     * 订单id
     */
     private  String name;
    private String phone;

      /**
     * 是否默认（1为默认）
     */
      private String defaultStatus;

      /**
     * 邮政编码
     */
      private String postCode;

      /**
     * 省份/直辖市
     */
      private String provice;

      /**
     * 城市
     */
      private String city;

    private String region;

    private String detailAddress;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public Integer getUserId() {
        return userId;
    }

      public void setUserId(Integer userId) {
          this.userId = userId;
      }

    
    public String getPhone() {
        return phone;
    }

      public void setPhone(String phone) {
          this.phone = phone;
      }
    
    public String getDefaultStatus() {
        return defaultStatus;
    }

      public void setDefaultStatus(String defaultStatus) {
          this.defaultStatus = defaultStatus;
      }
    
    public String getPostCode() {
        return postCode;
    }

      public void setPostCode(String postCode) {
          this.postCode = postCode;
      }
    
    public String getProvice() {
        return provice;
    }

      public void setProvice(String provice) {
          this.provice = provice;
      }
    
    public String getCity() {
        return city;
    }

      public void setCity(String city) {
          this.city = city;
      }
    
    public String getRegion() {
        return region;
    }

      public void setRegion(String region) {
          this.region = region;
      }
    
    public String getDetailAddress() {
        return detailAddress;
    }

      public void setDetailAddress(String detailAddress) {
          this.detailAddress = detailAddress;
      }

    @Override
    public String toString() {
        return "UmsUserAddres{" +
              "id=" + id +
                  ", userId=" + userId +
                  ", phone=" + phone +
                  ", defaultStatus=" + defaultStatus +
                  ", postCode=" + postCode +
                  ", provice=" + provice +
                  ", city=" + city +
                  ", region=" + region +
                  ", detailAddress=" + detailAddress +
              "}";
    }
}
